package com.task.core.service;

import java.util.List;

import com.task.common.domain.info.KeyAndValue;
import com.task.common.domain.info.CountryInfo;
import com.task.core.dto.request.CountryRequestDTO;
import com.task.core.vo.resp.CountryDetailRespVo;
import com.task.core.vo.resp.DatasourceDetailRespVo;

/**
 * @author 迪迦.
 * @date 2024/8/14 15:09
 */
public interface CountryService {

  void addCountry(CountryRequestDTO request);

  List<CountryInfo> getCountryByPage(CountryRequestDTO request);

  CountryInfo getCountryByName(String countryName);

  CountryInfo getCountryByCode(String countryCode);

  void deleteCountry(String countryCode, Long operationBy);

  void modifyCountry(CountryRequestDTO request);

  List<KeyAndValue> getCountryForOption(CountryRequestDTO request);

  CountryDetailRespVo getCountryDetail(String countryCode);
}
